package charaster_test;

import java.io.*;
import java.util.Arrays;

public class Main {
    public static void main(String[] args) throws IOException {
        FileInputStream inputStream1 = new FileInputStream(new File("E:\\dev\\practice\\src\\charaster_test\\1.txt"));
        FileInputStream inputStream2 = new FileInputStream(new File("E:\\dev\\practice\\src\\charaster_test\\2.txt"));

        byte[] bytes1 = new byte[10];
        byte[] bytes2 = new byte[10];
        inputStream1.read(bytes1);
        inputStream2.read(bytes2);

        System.out.println("a字符的编码为：" + Arrays.toString(bytes1));
        System.out.println("编码字符的编码为：" + Arrays.toString(bytes2));
    }
}
